﻿@model vcity.Models.LogOnModel
@using (Html.BeginForm())
{<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>

@Html.ValidationSummary(true, "Login was unsuccessful. Please correct the errors and try again.")

<h2>Авторизуйтесь, пожалуйста!</h2>
						<table class="login-table">
							<tr>
								<td>
									<label for="username">Логин</label><br>
									@Html.TextBoxFor(m => m.UserName)
                                    @Html.ValidationMessageFor(m => m.UserName)
								</td>
								<td>
									<label for="password">Пароль</label><br>
									 @Html.PasswordFor(m => m.Password)
                                     @Html.ValidationMessageFor(m => m.Password)
								</td>
								<td class="aligned-bottom">
									<button id="login_btn" type="submit" class="btn-green">Войти</button>
								</td>
							</tr>
							<tr>
								<td>
								</td>
								<td class="aligned-right">
									<a href="#">Забыли пароль?</a>
									<br>
									<a href="#">Регистрация</a>
								</td>
								<td>
								</td>
							</tr>
						</table>
    
}